@extends('layouts.admin_iframe')
@section('content')

	@if(count($errors)>0)
		<div class="mark">
			@if(is_object($errors))
				@foreach($errors->all() as $key=>$error)
					@if($key==0)
						<p>{{$error}}</p>
					@endif
				@endforeach
			@else
				<p>{{$errors}}</p>
			@endif
		</div>
	@endif
	<form action="{{url('admin/type/')}}" method="post">
		{{csrf_field()}}
		<div class="alert alert-success">添加类型</div>
		<div class="form-group">
			<label for="exampleInputEmail1">类型名称</label>
			<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入类型名称" required="" name="tname">
		</div>

	
		<button class="btn btn-primary btn-block" type="submit"> 确定 </button>
	</form>
@endsection